﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HCY.CTP.DBShangZheng;

namespace IFClientDLL
{
    public class MyData_DaPan : MyData_Base, IData
    {
        private int _服务器时间;
        private DateTime _时间;
        private decimal _最新;
        public decimal NewPrice { get { return _最新; } }
        private MyData_DaPan _PrevData;
        public MyData_DaPan(DBTableShangZheng data,MyData_DaPan prevData)
        {
            _时间 = data.时间;
            _服务器时间 = data.服务器时间;
            _PrevData=prevData;
            _最新 = data.最新;
        }


        public int MyServerTime
        {
            get { return _服务器时间; }
        }

        public MyData_DaPan PrevData
        {
            get { return _PrevData; }
        }




        public DateTime DT
        {
            get { return _时间; }
        }
    }
}
